$white: #fff;
$black: #020201;
$theme: #291600;
$theme-light: #ac7f58;
$font_size: 12px;
$nav_h: 44px;
$device_h: 100vh;
$device_w: 100vw;
$view_w: 20rem;
$base_index: 1;
.scope-cart {
  min-height: 100vh;
  header {
    line-height: 40px;
    z-index: 10;
    margin-bottom: 0;
    background-color: $theme;
    .go {
      line-height: 40px;
      color: $theme-light;
    }
    .title {
      font-size: 18px;
      font-weight: bold;
      color: #B2855F;
    }
    button {
      color: $theme-light;
    }
  }
  .go2pay {
    z-index: 10;
    overflow: hidden;
    width: 100%;
    transition: opacity .3s ease-out;
    color: #fff;
    box-shadow: 0 0 3px #d6d6d6;
    &.ng-hide-remove {
      opacity: 0;
    }
    &.ng-hide-remove-active {
      opacity: 1;
    }
    .left {
      font-size: 14px;
      font-weight: 400;
      line-height: 40px;
      float: left;
      .price {
        font-size: 17px;
      }
    }
    button {
      width: 100%;
      height: 40px;
      margin-right: -15px;
      border-radius: 0;
    }
  }
  #wrapper {
    padding: 50px 0 44px 0;
  }
  .commodity {
    ul {
      background-color: #fff;
      box-shadow: 0 0 3px #eee;
      li {
        overflow: hidden;
        border-bottom: 1px solid #eee;
        &:first-child {
          border-top: 1px solid #eee;
        }
        .img {
          padding: 0;
          img {
            width: 100%;
          }
        }
        .info {
          .name {
            font-size: 16px;
            font-weight: bold;
            color: $theme-light;
          }
          .spec {
            font-size: 12px;
            color: $theme-light;
          }
          p {
            margin-bottom: 4px;
            color: $theme-light;
          }
          .price {
            font-size: 1.3em;
            color: $theme-light;
          }
          .num {
            display: inline-block;
            overflow: hidden;
            height: 2em;
            button {
              float: left;
              height: 100%;
              padding: 0;
              text-align: center;
              width: 2em;
            }
            input {
              float: left;
              height: 100%;
              padding: 0;
              text-align: center;
              width: 2.5em;
              background-color: #fff;
            }
          }
        }
      }
    }
  }
  .emptyCart {
    width: 100%;
    margin: 0 auto;
    padding: 8em 0;
    text-align: center;
    .msg {
      color: #777;
    }
    button {
      font-size: .7em;
      display: block;
      width: 30%;
      margin: 2em auto;
      padding: .5em;
      color: #fff;
      border-radius: .25em;
      background-color: $theme-light;
    }
  }
}